﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Тхи_4_лаба
{
    class create_airplanes
    {
        public sy1 create_sy1(int kol)
        {
            sy1 sy1_ = new sy1();
            sy1_.set_kol(kol);
            return sy1_;
        }

        public sy2 create_sy2(int kol)
        {
            sy2 sy2_ = new sy2();
            sy2_.set_kol(kol);
            return sy2_;
        }

        public company create_company(sy1 sy1_, sy2 sy2_)
        {
            company company_ = new company();
            company_.make_Company(sy1_, sy2_);
            return company_;
        }

    }
}
